<template>
  <div id="app">
    <ul>
      <li>
        <router-link to="/">home</router-link>
      </li>
      <li>
        <router-link to="/about">about</router-link>
      </li>
    </ul>
    <router-view></router-view>
    <!-- <h1>{{ message }}</h1>
    <input v-model="message" />
    <button @click="onClick">click</button> -->
  </div>
</template>

<script>
export default {
  name: 'DEMO',
  data() {
    return {
      message: 'borey',
    };
  },
  methods: {
    onClick() {
      console.log('this is click');
    },
  },
};
</script>
